<div class="modal-header">
    <h3 class="modal-title">编辑</h3>
</div>
<div class="modal-body">
    <div class="row">
	    <div class="col-sm-10 ">	      
	        <form class="bs-example form-horizontal">
	            <div class="form-group">
	              <label class="col-lg-3 control-label">学校名称</label>
	              <div class="col-lg-9">
	                <input type="text" class="form-control" ng-model="oo.name" placeholder="请输入学校名称">     
	              </div>
	            </div>
	            
	            <div class="form-group">
	              <label class="col-lg-3 control-label">简称</label>
	              <div class="col-lg-9">
	                <input type="text" class="form-control"  ng-model="oo.short_name" placeholder="请输入学校简称">     
	              </div>
	            </div>

	            <div class="form-group">
	              <label class="col-lg-3 control-label">学校地址</label>
	           <!--    <div class="col-lg-9">
	                <input type="hidden" class="form-control"  id="oo.schooladdr" placeholder="请输入产品监控路径">     
	              </div> -->
	            </div>

				<div ng-controller="IndexCtrl">
		            <div class="form-group"  >
		              <label class="col-lg-3 control-label">省份</label>
		              <div class="col-lg-9">
		                <select required="" class="form-control" ng-model="oo.province" ng-options="key as key for (key,value) in division" ng-change="oo.city='';oo.district='';"> 
		                <option value="">-- 请选择 --</option> 
		                </select>     
		              </div>
		            </div>

		            <div class="form-group">
		              <label class="col-lg-3 control-label">城市</label>
		              <div class="col-lg-9">
		                <select class="form-control" ng-model="oo.city" ng-options="key as key for (key,value) in division[oo.province]"  
		                            ng-change="oo.district='';">  
		                        <option value="">-- 请选择 --</option>  
		                    </select>       
		              </div>
		            </div>

		            <div class="form-group">
		              <label class="col-lg-3 control-label">区</label>
		              <div class="col-lg-9">
		                <select class="form-control" ng-model="oo.district" ng-options="value as value for value in division[oo.province][oo.city]">  
		                        <option value="">-- 请选择 --</option>  
		                    </select>       
		              </div>
		            </div>

		            <div class="form-group">
		              <label class="col-lg-3 control-label">具体地址</label>
		              <div class="col-lg-9">
		                <textarea class="form-control"  ng-model="oo.detaiaddr"  rows="3">                  
		                </textarea>
		              </div>
		            </div>

		          </div>


	           </form>
	        </div>
	    </div>
	</div>
</div>
<div class="modal-footer">                  
    <button class="btn btn-default" ng-click="cancel()">取消</button>
    <button class="btn btn-info" ng-click="ok()">确定</button>
</div>